package cn.funeralobjects.common.service.entity;

import cn.funeralobjects.common.model.CreateTime;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 基础的时间实体(主要用于普通记录等)
 *
 * @author FuneralObjects
 * Create date: 2020/4/15 3:50 PM
 */
@Data
@Accessors(chain = true)
public abstract class BaseCreateTimeEntity implements CreateTime {

    /**
     * 创建日期
     */
    private Date createTime;


    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
